package jmu.cyxwcy.librarymanagement.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("books")
public class Book {
    @TableId(type = IdType.AUTO)
    private Long bookId;
    private String status;
    private String isbn;
    private Date shelfTime;
    private Integer borrowTypeId;
    @TableField(exist = false)
    private String bookName;// 图书名称
    @TableField(exist = false)
    private String description;// 图书描述
    @TableField(exist = false)
    private BigDecimal price; // 图书价格
    @TableField(exist = false)
    private String language; // 图书语言


}
